﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Oplaco.Core.BusinessLogicLayer;
using Oplaco.Web.DTO;

public partial class Controls_AdvertismentsList : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack) {

            CachedAdvertismentCollection coll = AdvertismentManager.Fetch(HttpContext.Current, 8);
            Repeater1.DataSource = coll;
            Repeater1.DataBind();
        }
    }
}